from config import HOST


class ApiTender:
    def __init__(self,session):
        self.seooion=session
        # url
        self.__url_tender=HOST+"/trust/trust/tender"
    # TENDER
    def api_tender(self,amount):
        data={
            "id":642,"depositCertificate":-1,"amount":amount,"password":""
        }
        return self.seooion.post(url=self.__url_tender,data=data)